import axios from "axios";

// blog list
export function apigetbloglist(data) {
	return axios({
		url: "/api/blog/data",
		method: "post",
		data,
	});
}

// blog detail
export function apigetblogdetail(data) {
	return axios({
		url: "/api/blog/detail",
		method: "post",
		data,
	});
}

// 浏览blog
export function apigetblognumber(data) {
	return axios({
		url: "/api/blog/number",
		method: "post",
		data,
	});
}

// 点赞blog
export function apigetbloglove(data) {
	return axios({
		url: "/api/blog/love",
		method: "post",
		data,
	});
}

// 访问
export function apicensussetvisit(data) {
	return axios({
		url: "/api/census/setvisit",
		method: "post",
		data,
	});
}
